package chapter06;public class intervalClass {    private boolean beep;    boolean getBeep(){return beep;}    public class interval    {        public void fun()        {            System.out.println("at the tone!");            if(beep) System.out.println("beep is true");        }    }}